package com.github.itdachen.product.sdk.vo;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


import java.io.Serializable;


/**
 * 产品类目 VO
 *
 * @author 王大宸
 * @date 2025-03-04 15:48:47
 */
public class ProductClazzInfoVO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键唯一标识
     */
    private String id;

    /**
     * 应用ID, 备用字段
     */
    private String appId;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 第一层ID
     */
    private String rootId;

    /**
     * 上级ID
     */
    private String parentId;

    /**
     * 分类层级, 最多三级
     */
    private String clazzLevel;

    /**
     * 标题名称
     */
    private String clazzTitle;

    /**
     * 图标
     */
    private String clazzIcon;

    /**
     * 排序
     */
    private String sortNum;

    /**
     * 是否展示/有效标志: Y-有效;N-无效
     */
    private String validFlag;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 删除标志: Y-已删除;N-未删除
     */
    private String removeFlag;


    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppId() {
        return appId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setRootId(String rootId) {
        this.rootId = rootId;
    }

    public String getRootId() {
        return rootId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setClazzLevel(String clazzLevel) {
        this.clazzLevel = clazzLevel;
    }

    public String getClazzLevel() {
        return clazzLevel;
    }

    public void setClazzTitle(String clazzTitle) {
        this.clazzTitle = clazzTitle;
    }

    public String getClazzTitle() {
        return clazzTitle;
    }

    public void setClazzIcon(String clazzIcon) {
        this.clazzIcon = clazzIcon;
    }

    public String getClazzIcon() {
        return clazzIcon;
    }

    public void setSortNum(String sortNum) {
        this.sortNum = sortNum;
    }

    public String getSortNum() {
        return sortNum;
    }

    public void setValidFlag(String validFlag) {
        this.validFlag = validFlag;
    }

    public String getValidFlag() {
        return validFlag;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemoveFlag(String removeFlag) {
        this.removeFlag = removeFlag;
    }

    public String getRemoveFlag() {
        return removeFlag;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("appId", getAppId())
                .append("tenantId", getTenantId())
                .append("rootId", getRootId())
                .append("parentId", getParentId())
                .append("clazzLevel", getClazzLevel())
                .append("clazzTitle", getClazzTitle())
                .append("clazzIcon", getClazzIcon())
                .append("sortNum", getSortNum())
                .append("validFlag", getValidFlag())
                .append("remarks", getRemarks())
                .append("removeFlag", getRemoveFlag())
                .toString();
    }

}
